<template>
  <div id="app">
    <div id="nav">
      
    <button @click="showToast">点击</button>
    <button @click="showList">点击我显示动态组件</button>
      <router-view></router-view>
    </div>
  </div>
</template>
<script>
export default {
  
  methods:{
    showToast(){
      this.$toast('显示内容弹框')
    },
    showList(){
        this.$showList('我是动态内容')
    }
  }
}
</script>
<style lang="scss">
html,body{
  width: 100%;
  height: 100%;
}
</style>
